aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
diff options
context:
space:
mode:
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected11
1 files changed, 10 insertions, 1 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 40131cb3..d41b1648 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTryTests]/[method:canGenerateCodeForTry(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -23,6 +23,7 @@ Locals:
* (val "tmp__0" int)
* (val "effectHandler__0" data-ptr)
* (val "int__0" int)
+ * (val "intPointer__0" data-ptr)
* (val "tmp__1" int)
Instructions:
@@ -51,7 +52,15 @@ Instructions:
(
block
(
- (local-store (local "int__0") (int 42))
+ (alloc-heap (local "intPointer__0") (struct (int)))
+ (
+ memory-store
+ pointer=(local "intPointer__0")
+ layout=(struct (int))
+ offset=(0)
+ value=(int 42)
+ )
+ (data-ptr-to-int (local "int__0") (local "intPointer__0"))
(call _ "shed__runtime__effects_pop_handler" ())
)
results=((local "int__0"))